package org.dwpd.domain.common;

import lombok.Data;
import org.dwpd.domain.message.MessageEsInfo;

import java.util.List;

@Data
public class PageResult {
    private Long total;
    private List<MessageEsInfo> messageInfos;

    public PageResult() {
    }

    public PageResult(Long total, List<MessageEsInfo> messageInfos) {
        this.total = total;
        this.messageInfos = messageInfos;
    }
}